home *** CD-ROM | disk | FTP | other *** search
/ Explorer - Mosaic & Web / Explorer - Mosaic & Web.iso / helpers / ghostvew / src / gvwin.rc < prev    next >
Encoding:
Text File  |  1994-08-03  |  16.8 KB  |  445 lines

  1. /* Copyright (C) 1993, 1994, Russell Lang.  All rights reserved.
  2.   
  3.   This file is part of GSview.
  4.   
  5.   This program is distributed with NO WARRANTY OF ANY KIND.  No author
  6.   or distributor accepts any responsibility for the consequences of using it,
  7.   or for whether it serves any particular purpose or works at all, unless he
  8.   or she says so in writing.  Refer to the GSview Free Public Licence 
  9.   (the "Licence") for full details.
  10.   
  11.   Every copy of GSview must include a copy of the Licence, normally in a 
  12.   plain ASCII text file named LICENCE.  The Licence grants you the right 
  13.   to copy, modify and redistribute GSview, but only under certain conditions 
  14.   described in the Licence.  Among other things, the Licence requires that 
  15.   the copyright notice and this notice be preserved on all copies.
  16. */
  17.  
  18. /* gvwin.rc */
  19. /* Resources for GSVIEW.EXE, a graphical interface for MS-Windows Ghostscript */
  20.  
  21. #include <windows.h>
  22. #include "gvcrc.h"
  23. #include "gvwin2.rc"    /* language independent resources */
  24.  
  25. gsview_menu MENU
  26. BEGIN
  27.     POPUP "&File"
  28.     BEGIN
  29.         MENUITEM "&Open...\tO", IDM_OPEN
  30.         MENUITEM "&Close\tC", IDM_CLOSE
  31.         MENUITEM "&Next Page\t+", IDM_NEXT
  32.         MENUITEM "Pre&vious Page\t-", IDM_PREV
  33.         MENUITEM "&Goto Page...\tG", IDM_GOTO
  34.         MENUITEM "&Redisplay\tR", IDM_REDISPLAY
  35.         MENUITEM "&Info...\tI", IDM_INFO
  36.         MENUITEM SEPARATOR
  37.         MENUITEM "&Select File...\tS", IDM_SELECT
  38.         MENUITEM "&Print...\tP", IDM_PRINT
  39.         MENUITEM "Print To &File...\tF", IDM_PRINTTOFILE
  40.         MENUITEM "Print File...", IDM_SPOOL
  41.         MENUITEM "&Extract...\tE", IDM_EXTRACT
  42.         MENUITEM "PS to EPS", IDM_PSTOEPS
  43.         MENUITEM SEPARATOR
  44.         MENUITEM "E&xit", IDM_EXIT
  45.     END
  46.     POPUP "&Edit"
  47.     BEGIN
  48.         MENUITEM "&Copy\tCtrl+C", IDM_COPYCLIP
  49.         MENUITEM SEPARATOR
  50.         MENUITEM "&Paste To...", IDM_PASTETO
  51.         MENUITEM "Convert &Bitmap", IDM_CONVERT
  52.         MENUITEM SEPARATOR
  53.         POPUP "&Add EPS Preview"
  54.         BEGIN
  55.             MENUITEM "&Interchange", IDM_MAKEEPSI
  56.             MENUITEM "TIFF 4", IDM_MAKEEPST4
  57.             MENUITEM "&TIFF 5", IDM_MAKEEPST
  58.             MENUITEM "&Windows Metafile", IDM_MAKEEPSW
  59.         END
  60.         POPUP "&Extract EPS"
  61.         BEGIN
  62.             MENUITEM "&PostScript", IDM_EXTRACTPS
  63.             MENUITEM "Pre&view", IDM_EXTRACTPRE
  64.         END
  65.         MENUITEM SEPARATOR
  66.         MENUITEM "&Text Extract...", IDM_TEXTEXTRACT
  67.         MENUITEM "&Find...", IDM_TEXTFIND
  68.         MENUITEM "Find &Next", IDM_TEXTFINDNEXT
  69.     END
  70.     POPUP "O&ptions"
  71.     BEGIN
  72.         MENUITEM "&Ghostscript Command...", IDM_GSCOMMAND
  73.         MENUITEM "Sounds...", IDM_SOUNDS
  74.         POPUP "&Units"
  75.         BEGIN
  76.             MENUITEM "&pt", IDM_UNITPT
  77.             MENUITEM "&mm", IDM_UNITMM
  78.             MENUITEM "&inch", IDM_UNITINCH
  79.         END
  80.         MENUITEM "&Save Settings", IDM_SETTINGS
  81.         MENUITEM SEPARATOR
  82.         MENUITEM "Save Settings on &Exit", IDM_SAVESETTINGS
  83.         MENUITEM "Sa&fer", IDM_SAFER
  84.         MENUITEM "Save Last &Directory", IDM_SAVEDIR
  85.         MENUITEM "&Button Bar", IDM_BUTTONSHOW
  86.         /* MENUITEM "&Fit Window to Page", IDM_FITPAGE */
  87.         MENUITEM "&Quick Open", IDM_QUICK
  88.         MENUITEM "Auto &Redisplay", IDM_AUTOREDISPLAY
  89.         MENUITEM "EPS &Clip", IDM_EPSFCLIP
  90.         MENUITEM "EPS &Warn", IDM_EPSFWARN
  91.         MENUITEM "&Ignore DSC", IDM_IGNOREDSC
  92.     END
  93.     POPUP "&Orientation"
  94.     BEGIN
  95.         MENUITEM "&Portrait", IDM_PORTRAIT
  96.         MENUITEM "&Landscape", IDM_LANDSCAPE
  97.         MENUITEM "&Upside-down", IDM_UPSIDEDOWN
  98.         MENUITEM "&Seascape", IDM_SEASCAPE
  99.         MENUITEM SEPARATOR
  100.         MENUITEM "Swap Landscape", IDM_SWAPLANDSCAPE
  101.     END
  102.     POPUP "&Media"
  103.     BEGIN
  104.         MENUITEM "&Resolution...", IDM_RESOLUTION
  105.         MENUITEM "&Zoom Resolution...", IDM_ZOOMRES
  106.         POPUP "&Depth"
  107.         BEGIN
  108.             MENUITEM "Default", IDM_DEPTHDEF
  109.             MENUITEM "1 bit/pixel (Monochrome)", IDM_DEPTH1
  110.             MENUITEM "4 bit/pixel (VGA)", IDM_DEPTH4
  111.             MENUITEM "8 bit/pixel", IDM_DEPTH8
  112.             MENUITEM "16 bit/pixel", IDM_DEPTH16
  113.             MENUITEM "24 bit/pixel", IDM_DEPTH24
  114.         END
  115.         MENUITEM SEPARATOR
  116.         MENUITEM "Letter", IDM_LETTER
  117.         MENUITEM "Tabloid", IDM_TABLOID
  118.         MENUITEM "Ledger", IDM_LEDGER
  119.         MENUITEM "Legal", IDM_LEGAL
  120.         MENUITEM "Statement", IDM_STATEMENT
  121.         MENUITEM "Executive", IDM_EXECUTIVE
  122.         MENUITEM "A3", IDM_A3
  123.         MENUITEM "A4", IDM_A4
  124.         MENUITEM "A5", IDM_A5
  125.         MENUITEM "B4", IDM_B4
  126.         MENUITEM "B5", IDM_B5
  127.         MENUITEM "Folio", IDM_FOLIO
  128.         MENUITEM "Quarto", IDM_QUARTO
  129.         MENUITEM "10x14", IDM_10X14
  130.         MENUITEM "User Defined...", IDM_USERSIZE
  131.     END
  132.     POPUP "&Help"
  133.     BEGIN
  134.         MENUITEM "&Contents", IDM_HELPCONTENT
  135.         MENUITEM "&Search for Help on...", IDM_HELPSEARCH
  136.         MENUITEM "&Keys Help", IDM_HELPKEYS
  137.         MENUITEM SEPARATOR
  138.         MENUITEM "&About...", IDM_ABOUT
  139.     END
  140. END
  141.  
  142. gsview_accel ACCELERATORS
  143. BEGIN
  144.     "O", IDM_OPEN
  145.     "o", IDM_OPEN
  146.     "C", IDM_CLOSE
  147.     "c", IDM_CLOSE
  148.     "N", IDM_NEXT
  149.     "n", IDM_NEXT
  150.     "+", IDM_NEXT
  151.     "V", IDM_PREV
  152.     "v", IDM_PREV
  153.     "-", IDM_PREV
  154.     "G", IDM_GOTO
  155.     "g", IDM_GOTO
  156.     "I", IDM_INFO
  157.     "i", IDM_INFO
  158.     "R", IDM_REDISPLAY
  159.     "r", IDM_REDISPLAY
  160.     "S", IDM_SELECT
  161.     "s", IDM_SELECT
  162.     "P", IDM_PRINT
  163.     "p", IDM_PRINT
  164.     "F", IDM_PRINTTOFILE
  165.     "f", IDM_PRINTTOFILE
  166.     "E", IDM_EXTRACT
  167.     "e", IDM_EXTRACT
  168.     VK_F1, IDM_HELPCONTENT, VIRTKEY
  169.     "^C", IDM_COPYCLIP
  170.     VK_INSERT, IDM_COPYCLIP, VIRTKEY, CONTROL
  171. END
  172.  
  173.  
  174. STRINGTABLE
  175. BEGIN
  176.     /* general strings */
  177.     IDS_FILTER, "Default (*.ps)|*.ps|EPS Files (*.eps)|*.eps|EPI Files (*.epi)|*.epi|All Files (*.*)|*.*|Bitmap Files (*.bmp)|*.bmp|TIFF Files (*.tif)|*.tif|Metafiles (*.wmf)|*.wmf|Text (*.txt|*.txt|"
  178. #ifdef __WIN32__
  179.     IDS_TITLE, "GSview for Windows 32"
  180. #else
  181.     IDS_TITLE, "GSview for Windows"
  182. #endif
  183.     IDS_HELPFILE, "gsview.hlp"
  184.     IDS_WRONGGS, "Incompatible Windows Ghostscript Program"
  185.     IDS_BUSY, "GSview is busy.\nClear busy state?"
  186. END
  187.  
  188. STRINGTABLE
  189. BEGIN
  190.     IDS_FILE, "File: "
  191.     IDS_NOFILE, "No File"
  192.     IDS_PAGE, "Page: "
  193.     IDS_NOPAGE, "No page numbering available"
  194.     IDS_LANDSCAPE, "Landscape"
  195.     IDS_PORTRAIT, "Portrait"
  196.     IDS_ASCEND, "Ascending"
  197.     IDS_DESCEND, "Descending"
  198.     IDS_SPECIAL, "Special"
  199.     IDS_EPSF, "EPS"
  200.     IDS_EPSI, "EPS with Interchange Preview"
  201.     IDS_EPST, "EPS with TIFF Preview"
  202.     IDS_EPSW, "EPS with Metafile Preview"
  203.     IDS_DSC, "DSC"
  204.     IDS_NOTDSC, "No DSC comments"
  205.     IDS_IGNOREDSC, "Ignoring DSC comments"
  206.     IDS_PAGEINFO, "Page: \"%s\"  %d of %d"
  207. END
  208.  
  209. STRINGTABLE
  210. BEGIN
  211.     IDS_OUTPUTFILE, "Output Filename"
  212.     IDS_PRINTINGALL, "No DSC comments\nPrinting all pages"
  213.     IDS_PRINTFILE, "Print File"
  214.     IDS_NOSPOOL, "Print Manager is disabled\nEnable it now ?"
  215.     IDS_SELECTPAGE, "Select Page"
  216.     IDS_SELECTPAGES, "Select Pages"
  217.     IDS_TIMEOUT, "Timeout waiting for Ghostscript"
  218.     IDS_NOTIMER, "No Timer available"
  219.     IDS_NOTOPEN, "No document open"
  220.     IDS_CANNOTRUN, "Can't run "
  221.     IDS_TOOLONG, "Command line too long: "
  222.     IDS_NOMORE, "No more pages"
  223.     IDS_GSCOMMAND, "Ghostscript command ?"
  224.     IDS_RES, "Display resolution (dpi) ?"
  225.     IDS_ZOOMRES, "Zoom resolution (dpi) ?"
  226.     IDS_NOZOOM, "Must display page before zooming"
  227.     IDS_USERWIDTH, "Width in 1/72 inch units ?"
  228.     IDS_USERHEIGHT, "Height in 1/72 inch units ?"
  229.     IDS_BADEPS, "Problem making EPS file"
  230.     IDS_NOPREVIEW, "Not a DOS EPS file or\nNo binary preview"
  231.     IDS_NOTDFNAME, "Can't use same name as open document"
  232.     IDS_PIPE_EOPEN, "Pipe error.  Couldn't open temporary file.\nDirectory may be Read Only.\nTEMP environment variable may not set."
  233.     IDS_PIPE_EMEM, "Pipe error. Couldn't allocate memory."
  234.     IDS_CANCELDONE, "%d%% done"
  235.     IDS_BADCLI, "Bad command line option: %s"
  236.     IDS_TEXTFIND, "Find text ?"
  237.     IDS_TEXTNOTFIND, "Text not found"
  238. END
  239.  
  240. STRINGTABLE
  241. BEGIN
  242.     /* sound type types*/
  243.     IDS_SOUNDNAME, "Sound File"
  244.     IDS_SNDPAGE, "Output Page"
  245.     IDS_SNDNOPAGE, "No Page"
  246.     IDS_SNDNONUMBER, "No Numbering"
  247.     IDS_SNDNOTOPEN, "Not Open"
  248.     IDS_SNDERROR, "Error"
  249.     IDS_SNDTIMEOUT,    "Timeout"
  250.     IDS_SNDSTART, "Start"
  251.     IDS_SNDEXIT, "Exit"
  252.     IDS_SOUNDNOMM, "Can't load MMSYSTEM.DLL\nSounds will be unavailable"
  253.     IDS_NONE, "<None>"
  254.     IDS_SPKR, "<Speaker Beep>"
  255. END
  256.  
  257. STRINGTABLE
  258. BEGIN
  259.     /* help topics - these need to match keywords in gsview.doc */
  260.     IDS_TOPICROOT,  "Overview"
  261.     IDS_TOPICOPEN,  "Open"
  262.     IDS_TOPICPRINT, "Print"
  263.     IDS_TOPICEDIT, "Edit"
  264.     IDS_TOPICGSCMD, "Ghostscript Command"
  265.     IDS_TOPICSOUND, "Sounds"
  266.     IDS_TOPICMEDIA, "Media"
  267.     IDS_TOPICPSTOEPS, "PS to EPS"
  268.     IDS_TOPICGOTO, "Page Selection"
  269.     IDS_TOPICINSTALL, "Installation"
  270.     IDS_TOPICTEXT, "Text Extract and Find"
  271.     IDS_TOPICKEYS, "Keys"
  272. END
  273.  
  274. STRINGTABLE
  275. BEGIN
  276.     IDS_BBPROMPT,  "Click at left"
  277.     IDS_BBPROMPT1, "Click at bottom"
  278.     IDS_BBPROMPT2, "Click at right"
  279.     IDS_BBPROMPT3, "Click at top"
  280.     IDS_EPSONEPAGE, "An EPS file must be a single page document.\nSee help on 'PS to EPS'"
  281.     IDS_EPSQPAGES, "Is this a single page document ?"
  282.     IDS_EPSNOBBOX, "Could not obtain Bounding Box"
  283.     IDS_EPSREAD, "Have you read help `PS to EPS` ?"
  284. END
  285.  
  286. STRINGTABLE
  287. BEGIN
  288.     /* wait messages */
  289.     IDS_WAIT, "Wait"
  290.     IDS_WAITREAD,  "Reading..."
  291.     IDS_WAITWRITE,  "Writing..."
  292.     IDS_WAITDRAW, "Drawing..."
  293.     IDS_WAITGSOPEN, "Opening Ghostscript..."
  294.     IDS_WAITGSCLOSE,  "Closing Ghostscript..."
  295.     IDS_WAITPRINT,  "Printing..."
  296.     IDS_WAITSEARCH,  "Searching..."
  297. END
  298.  
  299. AboutDlgBox DIALOG 20, 32, 256, 156
  300. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  301. CAPTION "About GSview for Windows"
  302. BEGIN
  303.     CONTROL "&Ok", IDOK, "button", BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP | WS_CHILD, 218, 5, 32, 14
  304. #ifdef __WIN32__
  305.     LTEXT "GSVIEW32.EXE", -1, 32, 8, 64, 8
  306. #else
  307.     LTEXT "GSVIEW.EXE", -1, 32, 8, 64, 8
  308. #endif
  309.     RTEXT "Version:", -1, 86, 8, 32, 8
  310.     LTEXT "", ABOUT_VERSION, 120, 8, 96, 8
  311.     LTEXT "A Ghostscript graphical interface", -1, 32, 16, 128, 8
  312.     LTEXT "Copyright (C) 1993, 1994, Russell Lang.  All rights reserved.", -1, 8, 28, 240, 8
  313.     LTEXT "This program is distributed with NO WARRANTY OF ANY KIND.", -1, 7, 40, 240, 8
  314.     LTEXT "No author or distributor accepts any responsibility for the", -1, 7, 48, 240, 8
  315.     LTEXT "consequences of using it, or for whether it serves any particular", -1, 7, 56, 240, 8
  316.     LTEXT "purpose or works at all, unless he or she says so in writing.  Refer", -1, 7, 64, 240, 8
  317.     LTEXT "to the GSview Free Public Licence (the 'Licence') for full details.", -1, 7, 72, 240, 8
  318.     LTEXT "Every copy of GSview must include a copy of the Licence, normally", -1, 7, 84, 240, 8
  319.     LTEXT "in a plain ASCII text file named LICENCE.  The Licence grants you", -1, 7, 92, 240, 8
  320.     LTEXT "the right to copy, modify and redistribute GSview, but only under", -1, 7, 100, 240, 8
  321.     LTEXT "certain conditions described in the Licence.  Among other things,", -1, 7, 108, 240, 8
  322.     LTEXT "the Licence requires that the copyright notice and this notice be", -1, 7, 116, 240, 8
  323.     LTEXT "preserved on all copies.", -1, 7, 124, 240, 8
  324.     LTEXT "Author: Russell Lang  (rjl@monu1.cc.monash.edu.au)", -1, 8, 138, 240, 8
  325.     ICON ID_GSVIEW, ABOUT_ICON, 8, 8, 0, 0
  326. END
  327.  
  328. InputDlgBox DIALOG 48, 32, 192, 56
  329. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  330. CAPTION "Input"
  331. BEGIN
  332.     LTEXT "", ID_PROMPT, 6, 6, 180, 10
  333.     CONTROL "", ID_ANSWER, "edit", ES_LEFT | ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP | WS_CHILD, 6, 18, 180, 12
  334.     CONTROL "&Ok", IDOK, "button", BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP | WS_CHILD, 23, 36, 32, 14
  335.     CONTROL "&Cancel", IDCANCEL, "button", BS_PUSHBUTTON | WS_GROUP | WS_TABSTOP | WS_CHILD, 83, 36, 32, 14
  336.     CONTROL "&Help", ID_HELP, "button", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 143, 36, 32, 14
  337. END
  338.  
  339. InfoDlgBox DIALOG 20, 32, 175, 107
  340. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  341. CAPTION "Info"
  342. BEGIN
  343.     CONTROL "&Ok", IDOK, "button", BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP | WS_CHILD, 136, 89, 32, 14
  344.     RTEXT "File:", -1, 24, 8, 32, 8
  345.     LTEXT "", INFO_FILE, 60, 8, 110, 8
  346.     RTEXT "Type:", -1, 24, 16, 32, 8
  347.     LTEXT "", INFO_TYPE, 60, 16, 110, 8
  348.     RTEXT "Title:", -1, 24, 24, 32, 8
  349.     LTEXT "", INFO_TITLE, 60, 24, 110, 8
  350.     RTEXT "Date:", -1, 24, 32, 32, 8
  351.     LTEXT "", INFO_DATE, 60, 32, 110, 8
  352.     RTEXT "BoundingBox:", -1, 8, 40, 48, 8
  353.     LTEXT "", INFO_BBOX, 60, 40, 80, 8
  354.     RTEXT "Orientation:", -1, 8, 48, 48, 8
  355.     LTEXT "", INFO_ORIENT, 60, 48, 60, 8
  356.     RTEXT "Default Media:", -1, 8, 64, 48, 8
  357.     LTEXT "", INFO_DEFMEDIA, 60, 64, 60, 8
  358.     RTEXT "Page Order:", -1, 8, 56, 48, 8
  359.     LTEXT "", INFO_ORDER, 60, 56, 60, 8
  360.     RTEXT "Pages:", -1, 8, 72, 48, 8
  361.     LTEXT "", INFO_NUMPAGES, 60, 72, 60, 8
  362.     RTEXT "Page:", -1, 8, 80, 48, 8
  363.     LTEXT "", INFO_PAGE, 60, 80, 60, 8
  364.     RTEXT "Bitmap:", -1, 8, 92, 48, 8, SS_RIGHT | WS_CHILD | WS_VISIBLE | WS_GROUP
  365.     LTEXT "", INFO_BITMAP, 60, 92, 60, 8
  366.     ICON ID_GSVIEW, INFO_ICON, 8, 8, 0, 0
  367. END
  368.  
  369. SoundDlgBox DIALOG 16, 40, 204, 94
  370. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  371. CAPTION "Sounds"
  372. BEGIN
  373.     CONTROL "&Ok", IDOK, "button", BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP | WS_CHILD, 164, 12, 32, 14
  374.     CONTROL "&Cancel", IDCANCEL, "button", BS_PUSHBUTTON | WS_GROUP | WS_TABSTOP | WS_CHILD, 164, 32, 32, 14
  375.     CONTROL "&Test", SOUND_TEST, "button", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 164, 52, 32, 14
  376.     CONTROL "&Help", ID_HELP, "button", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 164, 72, 32, 14
  377.     LTEXT "Event:", -1, 8, 4, 32, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
  378.     CONTROL "", SOUND_EVENT, "LISTBOX", LBS_NOTIFY | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_VSCROLL | WS_TABSTOP, 8, 16, 70, 64
  379.     LTEXT "Sound:", -1, 90, 4, 33, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
  380.     CONTROL "", SOUND_FILE, "LISTBOX", LBS_STANDARD | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 90, 16, 64, 64
  381.     LTEXT "", SOUND_PATH, 90, 83, 70, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
  382. END
  383.  
  384. SpoolDlgBox DIALOG 32, 40, 110, 63
  385. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  386. CAPTION "Select Printer Port"
  387. BEGIN
  388.     CONTROL "&Ok", IDOK, "button", BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP | WS_CHILD, 72, 14, 32, 14
  389.     CONTROL "&Cancel", IDCANCEL, "button", BS_PUSHBUTTON | WS_GROUP | WS_TABSTOP | WS_CHILD, 72, 36, 32, 14
  390.     CONTROL "", SPOOL_PORT, "LISTBOX", LBS_NOTIFY | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_VSCROLL | WS_TABSTOP, 8, 8, 56, 50
  391. END
  392.  
  393. CancelDlgBox DIALOG 32, 40, 120, 48
  394. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_VISIBLE
  395. BEGIN
  396.     CTEXT "Printing", -1, 8, 4, 104, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
  397.     CTEXT "", CANCEL_PCDONE, 8, 16, 104, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
  398.     CONTROL "&Cancel", IDCANCEL, "button", BS_PUSHBUTTON | WS_GROUP | WS_TABSTOP | WS_CHILD, 44, 30, 32, 14
  399. END
  400.  
  401. PageDlgBox DIALOG 64, 32, 80, 142
  402. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  403. BEGIN
  404.     CONTROL "", PAGE_LIST, "LISTBOX", LBS_NOTIFY | LBS_MULTIPLESEL | LBS_EXTENDEDSEL | LBS_DISABLENOSCROLL | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_VSCROLL | WS_TABSTOP, 8, 8, 28, 128
  405.     CONTROL "&Ok", IDOK, "button", BS_DEFPUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 44, 8, 32, 14
  406.     CONTROL "&Cancel", IDCANCEL, "button", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 44, 32, 32, 14
  407.     CONTROL "&All", PAGE_ALL, "button", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 44, 64, 32, 14
  408.     CONTROL "O&dd", PAGE_ODD, "button", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 44, 88, 32, 14
  409.     CONTROL "&Even", PAGE_EVEN, "button", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 44, 112, 32, 14
  410. END
  411.  
  412. DeviceDlgBox DIALOG 16, 40, 212, 94
  413. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  414. CAPTION "Select Device"
  415. BEGIN
  416.     CONTROL "&Ok", IDOK, "button", BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP | WS_CHILD, 164, 12, 40, 14
  417.     CONTROL "&Cancel", IDCANCEL, "button", BS_PUSHBUTTON | WS_GROUP | WS_TABSTOP | WS_CHILD, 164, 32, 40, 14
  418.     CONTROL "&Properties", DEVICE_PROP, "button", BS_PUSHBUTTON | WS_GROUP | WS_TABSTOP | WS_CHILD, 164, 52, 40, 14
  419.     CONTROL "&Help", ID_HELP, "button", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 164, 72, 40, 14
  420.     LTEXT "Device:", -1, 8, 4, 48, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
  421.     CONTROL "", DEVICE_NAME, "COMBOBOX", CBS_SIMPLE | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_VSCROLL | WS_TABSTOP, 8, 16, 70, 70
  422.     LTEXT "Resolution:", DEVICE_RESTEXT, 90, 4, 48, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
  423.     CONTROL "", DEVICE_RES, "COMBOBOX", CBS_SIMPLE | WS_CHILD | WS_VISIBLE | WS_VSCROLL | WS_TABSTOP, 90, 16, 64, 70
  424. END
  425.  
  426. PropDlgBox DIALOG 16, 40, 204, 94
  427. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  428. CAPTION "Edit Properties"
  429. BEGIN
  430.     CONTROL "&Ok", IDOK, "button", BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP | WS_CHILD, 164, 12, 32, 14
  431.     CONTROL "&Cancel", IDCANCEL, "button", BS_PUSHBUTTON | WS_GROUP | WS_TABSTOP | WS_CHILD, 164, 32, 32, 14
  432.     CONTROL "&Help", ID_HELP, "button", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 164, 72, 32, 14
  433.     LTEXT "Property:", -1, 8, 4, 48, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
  434.     CONTROL "", PROP_NAME, "COMBOBOX", CBS_SIMPLE | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_VSCROLL | WS_TABSTOP, 8, 16, 70, 70
  435.     LTEXT "Value:", -1, 90, 4, 48, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
  436.     CONTROL "", PROP_VALUE, "COMBOBOX", CBS_SIMPLE | WS_CHILD | WS_VISIBLE | WS_VSCROLL | WS_TABSTOP, 90, 16, 64, 70
  437. END
  438.  
  439. BoundingBoxDlgBox DIALOG 12, 24, 120, 15
  440. STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_VISIBLE | WS_EX_TOPMOST
  441. CAPTION "BoundingBox"
  442. BEGIN
  443.     CTEXT "", BB_PROMPT, 4, 4, 112, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
  444. END
  445.